﻿using System.Runtime.Serialization;

namespace HomeCareLibrary.Core.DataContracts
{
    [DataContract]
    public class AppReopenRequest
    {
        #region "Private Members"
        
        private string _sponChangeTime;
        private string _welcomeImageChangeTime; 

        #endregion

        #region "Public Properties"

        [DataMember(Name = "userId")]
        public string UserId { get; set; }

        [DataMember(Name = "userName")]
        public string UserName { get; set; }

        [DataMember(Name = "password")]
        public string Password { get; set; }

        [DataMember(Name = "promoCode")]
        public string promoCode { get; set; }

        [DataMember(Name = "welcomeImageChangeTime")]
        public string WelcomeImageChangeTime
        {
            get
            {
                return _welcomeImageChangeTime ?? string.Empty;
            }
            set
            {
                _welcomeImageChangeTime = value;
            }
        }

        [DataMember(Name = "sponChangeTime")]
        public string SponChangeTime
        {
            get
            {
                return _sponChangeTime ?? string.Empty;
            }
            set
            {
                _sponChangeTime = value;
            }
        }

        [DataMember(Name = "iLogoPicChangeTime")]
        public string ILogoPicChangeTime { get; set; }

        [DataMember(Name = "sentFrom")]
        public string SentFrom { get; set; } 

        #endregion
    }
}